package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.system.PageVO;

import java.util.Map;

/**
 * @author Decheng Kong
 * @date 2021/11/9 08:55
 */
public interface InStockService {
    PageVO<InStockVO> findInStockList(Integer pageNum, Integer pageSize, InStockVO inStockVO);

    Map<String, Object> findInStockDetailList(Integer pageNum, Integer pageSize, Integer id);

    void updateInStockStatus(Long id, int code);

    void deleteInStockById(Long id);

    void addIntoStock(InStockVO inStockVO) throws BusinessException;

    void auditInStock(Long id, int code);
}
